package circular_dependency2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author CBeann
 * @create 2020-01-31 13:13
 */
public class AppStart {
  public static void main(String[] args) {
    ApplicationContext context = new ClassPathXmlApplicationContext("circulardependencyerror.xml");

    //多例类循环依赖error
//    PrototypeA bean = (PrototypeA) context.getBean("prototypeA");
//    System.out.println(bean);

  }
}
